home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Australian Personal Computer 2003 July
/
CD 2 Debian 3.0r1
/
Debian.iso
/
isolinux
/
root.bin
/
root
/
etc
/
init.d
/
check_fb.sh
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
undefined
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
2000-03-19
|
368 b
|
16 lines
#!/bin/sh
# If this is a Linux console, and it's a vga16 framebuffer, reset the
# palette, which has been set to the optimal colors for display of the
# boot logo.
if ! /usr/bin/tty | grep -q ttyS ; then
# not a serial console.
if [ -f /proc/fb ]; then
# They have a framebuffer device.
# That means we have work to do...
echo -n "]R"
fi
fi;
exit 0;